﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileserverWPF.Models
{
    class FileServerModel : List<Folder>
    {
        public FileServerModel()
        {
            Folder first = new Folder("First");
            Folder second = new Folder("Second");

            Folder firstFirst = new Folder("First First");
            Folder firstSecond = new Folder("First Second");
            Folder firstThird = new Folder("First Third");

            first.SubFolders.Add(firstFirst);
            first.SubFolders.Add(firstSecond);
            first.SubFolders.Add(firstThird);

            File one = new File("One");
            File two = new File("Two");
            File three = new File("Three");

            firstFirst.Files.Add(one);
            firstFirst.Files.Add(two);
            firstFirst.Files.Add(three);

            this.Add(first);
            this.Add(second);
        }
    }
}
